package org.example.myleet.p890;

import org.example.myleet.Utils.Assert;
import org.example.myleet.Utils.JsonUtils;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue("[\"mee\",\"aqq\"]".equals(JsonUtils.toJson(solution.findAndReplacePattern(new String[]{"abc","deq","mee","aqq","dkd","ccc"}, "abb"))));
        Assert.isTrue("[\"a\",\"b\",\"c\"]".equals(JsonUtils.toJson(solution.findAndReplacePattern(new String[]{"a","b","c"}, "a"))));
    }
}
